import { postJson,get } from "@/axios";


//登录
export function login(param:object):Promise<string>{
    return postJson("/base/login",param);
}


//获取用户信息
export function getUserInfo(param?:object):Promise<object>{
    return get("/base/getUserInfo",param);
}


//拉取用户菜单
export function getUserMenu():Promise<any[]>{
    return get("/base/resource/getResourceListHigh");
}